package com.woniuxy.dao.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 菜系菜品关联表
 * </p>
 *
 * @author psy
 * @since 2022-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("products_food_rel")
public class ProductsFoodRel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 餐品ID
     */
    private Long productsId;

    /**
     * 菜品ID
     */
    private Long foodId;

    /**
     * 状态（0 无效 1 有效）
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;


}
